﻿#region License
/*
 * NReco library (http://nreco.googlecode.com/)
 * Copyright 2008,2009 Vitaliy Fedorchenko
 * Distributed under the LGPL licence
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#endregion

using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using SemWeb;

namespace NReco.SemWeb {

	public static class StatementSinkExtensions {

		public static bool AddLabel(this StatementSink sink, Entity subject, string label) {
			return sink.Add(
					new Statement(subject, NS.Rdfs.labelEntity, new Literal(label))
				);
		}


	}

}
